﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PlaceUpdate.ascx.cs"
    Inherits="BatDongSan.Ucs.PlaceUpdate"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<div style="padding-top: 10px;">
    <asp:Label ID="lbStatus" runat="server" Font-Italic="True" ForeColor="#FF3300"></asp:Label>
</div>
<div>
    <div>
        <div>
                <table border="0" cellpadding="3" cellspacing="0" width="100%">
                    <tr>
                        <td colspan="2">
                            <table>
                                <tr>
                                    <td style="width: 130px;" align="right">
                                        Tiêu đề (<span style="color: Red;">*</span>):
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtName" runat="server" Width="400"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        Ngày bắt đầu(<span style="color: Red;">*</span>):
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDateBegin" runat="server" Width="70"></asp:TextBox>
                                        <asp:Image ID="imgCalendar" runat="server" ImageUrl="/App_Themes/cvkadmin/images/Calendar.png" />
                                        <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDateBegin"
                                            PopupButtonID="imgCalendar">
                                        </cc1:CalendarExtender>
                                    </td>
                                    <td>
                                        Ngày kết thúc(<span style="color: Red;">*</span>):
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtDateEnd" runat="server" Width="70"></asp:TextBox>
                                        <asp:Image ID="Image1" runat="server" ImageUrl="/App_Themes/cvkadmin/images/Calendar.png" />
                                        <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDateEnd"
                                            PopupButtonID="imgCalendar1">
                                        </cc1:CalendarExtender>
                                    </td>
                                    <td>
                                        Loại tin:
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlTypeNews" runat="server">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <div>
                    <table border="0" cellpadding="3" cellspacing="0" width="100%">
                        <tr>
                            <td colspan="2">
                                <div style="padding: 5px 0px 5px 0px; border-bottom: solid 1px #9B9B90">
                                    <b>Thông tin mô tả</b>
                                </div>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td style="width: 130px;" align="right">
                                Mô tả (<span style="color: Red;">*</span>):
                            </td>
                            <td>
                                <FCKeditorV2:FCKeditor ID="txtDescrption" Height="450px" runat="server">
                                </FCKeditorV2:FCKeditor>
                                <%--<asp:TextBox ID="txtDescrption" runat="server" Width="99%" TextMode="MultiLine" Rows="6"></asp:TextBox>--%>
                            </td>
                        </tr>
                        <tr valign="top" align="right">
                            <td>
                                Hình ảnh
                            </td>
                            <td align="left">
                                <asp:FileUpload ID="FileUpload1" runat="server" />
                                <asp:HiddenField ID="hdfImage" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <table border="0" cellpadding="3" cellspacing="0" width="100%">
                            <tr>
                                <td colspan="2">
                                    <div style="padding: 5px 0px 5px 0px; border-bottom: solid 1px #9B9B90">
                                        <b>Thông tin cơ bản</b>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <table border="0" cellpadding="3" cellspacing="0">
                                        <tr>
                                            <td style="width: 130px;" align="right">
                                                Hình thức
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlNhaDat" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlNhaDat_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                            <td>
                                                Loại
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="ddlCaterogy" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Địa chỉ(<span style="color: Red;">*</span>)
                                </td>
                                <td>
                                    <asp:TextBox ID="txtAddress" runat="server" Width="400"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Tỉnh / Thành phố(<span style="color: Red;">*</span>)
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="ddlProvince" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged">
                                    </asp:DropDownList>
                                    Quận / Huyện(<span style="color: Red;">*</span>)
                                    <asp:DropDownList ID="ddlWard" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 130px;" align="right">
                                    Diện tích(<span style="color: Red;">*</span>)
                                </td>
                                <td>
                                    <asp:TextBox ID="txtArea" runat="server"></asp:TextBox>
                                    <asp:DropDownList ID="ddlAreaUnit" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Giá
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
                                    <asp:DropDownList ID="ddlPriceUnit" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <div style="padding: 5px 0px 5px 0px; border-bottom: solid 1px #9B9B90">
                                        <b>Thông tin khác</b>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Mặt tiền
                                </td>
                                <td>
                                    <asp:TextBox ID="txtMatTien" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Lối vào
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLoiVao" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Hướng nhà
                                </td>
                                <td>
                                    <asp:TextBox ID="txtHuongNha" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Hướng ban công
                                </td>
                                <td>
                                    <asp:TextBox ID="txtHuongBanCong" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Số tầng
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSoTang" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Số phòng
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSoPhong" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Số tolet
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSoTolet" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Nội thất
                                </td>
                                <td>
                                    <asp:TextBox ID="txtNoithat" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Bản đồ
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <div style="padding: 5px 0px 5px 0px; border-bottom: solid 1px #9B9B90">
                                        <b>Thông tin người bán</b>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Tên người bán
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserName" runat="server" Width="200"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Địa chỉ
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserAddress" runat="server" Width="200"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Số điện thoại
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTelephone" runat="server" Width="200"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Số di động(<span style="color: Red;">*</span>)
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPhone" runat="server" Width="200"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Email
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEmail" runat="server" Width="200"></asp:TextBox>
                                </td>
                            </tr>
                        </table>

            </ContentTemplate>
            </asp:UpdatePanel>
            <div>
                <asp:Button ID="btUpdate" runat="server" OnClick="btUpdate_Click" />
            </div>
        </div>
    </div>
</div>
